package com.ciaojian.bytedance.vo.bytedance;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class ByteDanceHairTemplateVo implements Serializable {

    private List<?> calendar_attrs;
    private List<ProductAttrsBean> product_attrs;
    private List<SkuAttrsBean> sku_attrs;
    private List<?> spu_attrs;

    @Data
    public static class ProductAttrsBean implements Serializable {
        /**
         * value_demo :
         * value_type : APPOINTMENT
         * is_required : true
         * name : 预约信息
         * key : appointment
         * desc :
         * is_multi : false
         */

        private String value_demo;
        private String value_type;
        private boolean is_required;
        private String name;
        private String key;
        private String desc;
        private boolean is_multi;
    }

    @Data
    public static class SkuAttrsBean implements Serializable {
        /**
         * value_demo :
         * value_type : INT64
         * is_required : true
         * name : 券码生成方式
         * key : code_source_type
         * desc :
         * is_multi : false
         */

        private String value_demo;
        private String value_type;
        private boolean is_required;
        private String name;
        private String key;
        private String desc;
        private boolean is_multi;
    }
}
